package com.zhang.gulimall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.gulimall.common.to.MemberTo;
import com.zhang.gulimall.common.utils.PageUtils;
import com.zhang.gulimall.order.entity.OrderEntity;
import com.zhang.gulimall.order.vo.OrderConfirmVo;
import com.zhang.gulimall.order.vo.OrderSubmitVo;
import com.zhang.gulimall.order.vo.SubmitResponseVo;

import java.util.Map;

/**
 * 订单
 *
 * @author zhang
 * @email sunlightcs@gmail.com
 * @date 2022-09-14 11:55:57
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    OrderConfirmVo confirmOrder(String id, MemberTo member);

    SubmitResponseVo submitOrder(OrderSubmitVo orderSubmitVo);

    OrderEntity getOrderStatus(String id);
}

